package com.foftact.etfrank;

import java.math.BigDecimal;
import java.util.Date;

/**
 * ETF排行模型类
 * 对应数据库表：etf_rank
 */
public class ETFRank {
    private Long id;                     // 主键ID
    private String fundCode;             // 基金代码
    private String fundName;             // 基金简称
    private String fundFullName;         // 基金全称
    private Date navDate;                // 净值日期
    private BigDecimal unitNav;          // 单位净值
    private BigDecimal cumulativeNav;    // 累计净值
    private BigDecimal weeklyGrowthRate;     // 近1周增长率(%)
    private BigDecimal monthlyGrowthRate;    // 近1月增长率(%)
    private BigDecimal quarterlyGrowthRate;  // 近3月增长率(%)
    private BigDecimal semiannualGrowthRate; // 近6月增长率(%)
    private BigDecimal yearlyGrowthRate;     // 近1年增长率(%)
    private BigDecimal twoYearGrowthRate;    // 近2年增长率(%)
    private BigDecimal threeYearGrowthRate;  // 近3年增长率(%)
    private String fundType;             // 基金类型
    private String dataSource;           // 数据来源
    private Date createTime;             // 创建时间
    private Date updateTime;             // 更新时间

    // getter和setter方法
    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getFundCode() {
        return fundCode;
    }

    public void setFundCode(String fundCode) {
        this.fundCode = fundCode;
    }

    public String getFundName() {
        return fundName;
    }

    public void setFundName(String fundName) {
        this.fundName = fundName;
    }

    public String getFundFullName() {
        return fundFullName;
    }

    public void setFundFullName(String fundFullName) {
        this.fundFullName = fundFullName;
    }

    public Date getNavDate() {
        return navDate;
    }

    public void setNavDate(Date navDate) {
        this.navDate = navDate;
    }

    public BigDecimal getUnitNav() {
        return unitNav;
    }

    public void setUnitNav(BigDecimal unitNav) {
        this.unitNav = unitNav;
    }

    public BigDecimal getCumulativeNav() {
        return cumulativeNav;
    }

    public void setCumulativeNav(BigDecimal cumulativeNav) {
        this.cumulativeNav = cumulativeNav;
    }

    public BigDecimal getWeeklyGrowthRate() {
        return weeklyGrowthRate;
    }

    public void setWeeklyGrowthRate(BigDecimal weeklyGrowthRate) {
        this.weeklyGrowthRate = weeklyGrowthRate;
    }

    public BigDecimal getMonthlyGrowthRate() {
        return monthlyGrowthRate;
    }

    public void setMonthlyGrowthRate(BigDecimal monthlyGrowthRate) {
        this.monthlyGrowthRate = monthlyGrowthRate;
    }

    public BigDecimal getQuarterlyGrowthRate() {
        return quarterlyGrowthRate;
    }

    public void setQuarterlyGrowthRate(BigDecimal quarterlyGrowthRate) {
        this.quarterlyGrowthRate = quarterlyGrowthRate;
    }

    public BigDecimal getSemiannualGrowthRate() {
        return semiannualGrowthRate;
    }

    public void setSemiannualGrowthRate(BigDecimal semiannualGrowthRate) {
        this.semiannualGrowthRate = semiannualGrowthRate;
    }

    public BigDecimal getYearlyGrowthRate() {
        return yearlyGrowthRate;
    }

    public void setYearlyGrowthRate(BigDecimal yearlyGrowthRate) {
        this.yearlyGrowthRate = yearlyGrowthRate;
    }

    public BigDecimal getTwoYearGrowthRate() {
        return twoYearGrowthRate;
    }

    public void setTwoYearGrowthRate(BigDecimal twoYearGrowthRate) {
        this.twoYearGrowthRate = twoYearGrowthRate;
    }

    public BigDecimal getThreeYearGrowthRate() {
        return threeYearGrowthRate;
    }

    public void setThreeYearGrowthRate(BigDecimal threeYearGrowthRate) {
        this.threeYearGrowthRate = threeYearGrowthRate;
    }

    public String getFundType() {
        return fundType;
    }

    public void setFundType(String fundType) {
        this.fundType = fundType;
    }

    public String getDataSource() {
        return dataSource;
    }

    public void setDataSource(String dataSource) {
        this.dataSource = dataSource;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}